#include "Voice.h"

Voice::Voice()
{}

Voice::Voice(int id, const QString &name, const QString &s, const QDateTime &dt, bool del)	: userID(id), userName(name), content(s), dateTime(dt), isDeletable(del)
{}

QString Voice::dateTimeString() const
{
	return dateTime.toString("yyyyMMddHHmmss");
}
